home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / DragDrop.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  1.9 KB  |  83 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _DRAGDROP_
  3. #define _DRAGDROP_
  4.  
  5. #ifndef _DRAGDRPB_
  6. #include "DragDrpB.idl"
  7. #endif
  8.  
  9. //=====================================================================================
  10. // Classes defined in this interface
  11. //=====================================================================================
  12.  
  13. interface  ODDragAndDrop;
  14.  
  15. //=====================================================================================
  16. // Classes used by this interface
  17. //=====================================================================================
  18.  
  19. interface    ODSession;
  20. interface    ODPart;
  21. interface    ODStorageUnit;
  22. interface    ODFacet;
  23. interface    ODFrame;
  24. interface    ODStorageSystem;
  25. interface    ODWindow;
  26. interface    ODWindowState;
  27. interface    ODDragItemIterator;
  28. interface    ODStorageUnitView;
  29.  
  30.  
  31. //=====================================================================================
  32. // Constants
  33. //=====================================================================================
  34. #define kODDragFlavor           0x50415254  // 'PART'
  35.  
  36. #define kODdragHasLeftSourceFrame    0x00000001
  37. #define kODdragIsInSourcePart        0x00000002
  38. #define kODdragIsInSourceFrame        0x00000004
  39.  
  40. //=====================================================================================
  41. // ODDragAndDrop
  42. //=====================================================================================
  43.  
  44. #ifdef _PLATFORM_MACINTOSH_
  45.  
  46. interface ODDragAndDrop :  ODBaseDragAndDrop
  47. {
  48.  
  49.   
  50. #ifdef __SOMIDL__
  51.     implementation
  52.     {
  53.         override:
  54.             somInit,
  55.             somUninit,
  56.             Clear,
  57.             GetContentStorageUnit,
  58.             StartDrag;
  59.             
  60.         releaseorder:
  61.             GetDragAttributes,
  62.             GetDragReference,
  63.             MyDragTrackingHandler,
  64.             MyReceiveDropHandler,
  65.             MySendDataProc,
  66.             FindTargetFacet,
  67.             PromiseAEHandler,
  68.             GetPromiseFromDragManager,
  69.             GetDataFromDragManager,
  70.             reserved1;
  71.  
  72.         majorversion = 1; minorversion = 0;
  73.     
  74.  
  75. };
  76. #endif
  77.  
  78. };
  79.  
  80. #endif //# _PLATFORM_MACINTOSH
  81.  
  82. #endif // _DRAGDROP_
  83.